package org.cuatrovientos.GreatTesting;
import static org.junit.Assert.*;

import org.junit.Test;


/**
 * @author Testing GreatTest
 * 
 */
public class GreetTest {

	@Test
	public void testGreetMethod() {
		Greet greet = new Greet();

		String expected = "hola";
		String target = greet.greatRepeatedly(0, 1);
		assertEquals("Testing spanish greet once", expected, target);

		expected = "hellohello";
		target = greet.greatRepeatedly(1, 2);
		assertEquals("Testing english greet twice", expected, target);

		otro();

	}
@Test
	public void otro() {
	Greet greet = new Greet();
	
		String expected;
		String target;
		expected = "kaixokaixokaixokaixo";
		target = greet.greatRepeatedly(2, 4);
		assertEquals("Testing basque greet four times", expected, target);
	}

}
